package com.silverbox.shopper.entity;

import java.io.Serializable;

/**
box_goods
 */
public class Goods implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = 8385477192119863165L;

	/**
     */
    private Integer id;

    /**
     * 商品描述
     */
    private String description;

    /**
     * 小图名字
     */
    private String minImageName;

    /**
     * 小图路径
     */
    private String minImagePath;

    /**
     * 商品名字
     */
    private String name;

    /**
     * 商家ＩＤ
     */
    private Integer shopperId;

    /**
     * 条码
     */
    private String barCode;

    /**
     * 商品状态
     */
    private Integer status;

    /**
     * 商品启用，停用 ,0停用，1启用
     */
    private Integer start;

    /**
     * 商品排序码
     */
    private Integer sortCode;

    /**
     * 是不是附加属性
     */
    private Byte isAttach;

    /**
     * 是不是占位商品
     */
    private Byte isBlank;

    /**
     * 商品编号
     */
    private String inCode;

    /**
     * 商品简拼
     */
    private String janeSearch;

    /**
     * 商品价格
     */
    private Double price;

    /**
     * 店铺ID
     */
    private Integer shopperChildId;

    /**
     * 外部供应商ＩＤ
     */
    private Byte outerSupportId;

    /**
     * 是否为推荐商品
     */
    private Byte isRecommend;

    /**
     */
    private String guid;

    /**
     * 是否套餐 0 普通商品 1.普通套餐商品 2.组合套餐商品
     */
    private Byte isPackage;

    /**
     * 是否为称重商品 1称重商品
     */
    private Integer isWeight;

    /**
     * 分类id
     */
    private Long categoryId;

    /**
     * 包含的套餐名称-价格列表
     */
    private String packageDetail;

    /**
     * 是否有不同尺寸
     */
    private Byte hasSize;

    /**
     * 分类
     */
    private byte[] category;

    /**
     * 商品起卖数量
     */
    private Integer minSell;
    
    /**
     * 商品累加数量
     */
    private Integer minAddUnit;
    
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public String getMinImageName() {
        return minImageName;
    }

    public void setMinImageName(String minImageName) {
        this.minImageName = minImageName == null ? null : minImageName.trim();
    }

    public String getMinImagePath() {
        return minImagePath;
    }

    public void setMinImagePath(String minImagePath) {
        this.minImagePath = minImagePath == null ? null : minImagePath.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getShopperId() {
        return shopperId;
    }

    public void setShopperId(Integer shopperId) {
        this.shopperId = shopperId;
    }

    public String getBarCode() {
        return barCode;
    }

    public void setBarCode(String barCode) {
        this.barCode = barCode == null ? null : barCode.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getStart() {
        return start;
    }

    public void setStart(Integer start) {
        this.start = start;
    }

    public Integer getSortCode() {
        return sortCode;
    }

    public void setSortCode(Integer sortCode) {
        this.sortCode = sortCode;
    }

    public Byte getIsAttach() {
        return isAttach;
    }

    public void setIsAttach(Byte isAttach) {
        this.isAttach = isAttach;
    }

    public Byte getIsBlank() {
        return isBlank;
    }

    public void setIsBlank(Byte isBlank) {
        this.isBlank = isBlank;
    }

    public String getInCode() {
        return inCode;
    }

    public void setInCode(String inCode) {
        this.inCode = inCode == null ? null : inCode.trim();
    }

    public String getJaneSearch() {
        return janeSearch;
    }

    public void setJaneSearch(String janeSearch) {
        this.janeSearch = janeSearch == null ? null : janeSearch.trim();
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getShopperChildId() {
        return shopperChildId;
    }

    public void setShopperChildId(Integer shopperChildId) {
        this.shopperChildId = shopperChildId;
    }

    public Byte getOuterSupportId() {
        return outerSupportId;
    }

    public void setOuterSupportId(Byte outerSupportId) {
        this.outerSupportId = outerSupportId;
    }

    public Byte getIsRecommend() {
        return isRecommend;
    }

    public void setIsRecommend(Byte isRecommend) {
        this.isRecommend = isRecommend;
    }

    public String getGuid() {
        return guid;
    }

    public void setGuid(String guid) {
        this.guid = guid == null ? null : guid.trim();
    }

    public Byte getIsPackage() {
        return isPackage;
    }

    public void setIsPackage(Byte isPackage) {
        this.isPackage = isPackage;
    }

    public Integer getIsWeight() {
        return isWeight;
    }

    public void setIsWeight(Integer isWeight) {
        this.isWeight = isWeight;
    }

    public Long getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Long categoryId) {
        this.categoryId = categoryId;
    }

    public String getPackageDetail() {
        return packageDetail;
    }

    public void setPackageDetail(String packageDetail) {
        this.packageDetail = packageDetail == null ? null : packageDetail.trim();
    }

    public Byte getHasSize() {
        return hasSize;
    }

    public void setHasSize(Byte hasSize) {
        this.hasSize = hasSize;
    }

    public byte[] getCategory() {
        return category;
    }

    public void setCategory(byte[] category) {
        this.category = category;
    }

	public Integer getMinSell() {
		return minSell;
	}

	public void setMinSell(Integer minSell) {
		this.minSell = minSell;
	}

	public Integer getMinAddUnit() {
		return minAddUnit;
	}

	public void setMinAddUnit(Integer minAddUnit) {
		this.minAddUnit = minAddUnit;
	}
    
}